Optimal. Leaf size=87 \[ \frac{3 \sqrt{a^2 x^2+1} \text{CosIntegral}\left (\tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{a^2 c x^2+c}}+\frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (3 \tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{a^2 c x^2+c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.132726, antiderivative size = 87, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19, Rules used = {4905, 4904, 3312, 3302} \[ \frac{3 \sqrt{a^2 x^2+1} \text{CosIntegral}\left (\tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{a^2 c x^2+c}}+\frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (3 \tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{a^2 c x^2+c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4905
Rule 4904
Rule 3312
Rule 3302
Rubi steps
\begin{align*} \int \frac{1}{\left (c+a^2 c x^2\right )^{5/2} \tan ^{-1}(a x)} \, dx &=\frac{\sqrt{1+a^2 x^2} \int \frac{1}{\left (1+a^2 x^2\right )^{5/2} \tan ^{-1}(a x)} \, dx}{c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \frac{\cos ^3(x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{a c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \left (\frac{3 \cos (x)}{4 x}+\frac{\cos (3 x)}{4 x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{a c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \frac{\cos (3 x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{c+a^2 c x^2}}+\frac{\left (3 \sqrt{1+a^2 x^2}\right ) \operatorname{Subst}\left (\int \frac{\cos (x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{c+a^2 c x^2}}\\ &=\frac{3 \sqrt{1+a^2 x^2} \text{Ci}\left (\tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{c+a^2 c x^2}}+\frac{\sqrt{1+a^2 x^2} \text{Ci}\left (3 \tan ^{-1}(a x)\right )}{4 a c^2 \sqrt{c+a^2 c x^2}}\\ \end{align*}
Mathematica [A] time = 0.0431014, size = 50, normalized size = 0.57 \[ \frac{\left (a^2 x^2+1\right )^{5/2} \left (3 \text{CosIntegral}\left (\tan ^{-1}(a x)\right )+\text{CosIntegral}\left (3 \tan ^{-1}(a x)\right )\right )}{4 a \left (c \left (a^2 x^2+1\right )\right )^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.283, size = 179, normalized size = 2.1 \begin{align*}{\frac{-{\frac{i}{2}}{\it csgn} \left ( \arctan \left ( ax \right ) \right ){\it csgn} \left ( i\arctan \left ( ax \right ) \right ) \pi }{a{c}^{3}}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }{\frac{1}{\sqrt{{a}^{2}{x}^{2}+1}}}}+{\frac{{\frac{i}{2}}{\it csgn} \left ( i\arctan \left ( ax \right ) \right ) \pi }{a{c}^{3}}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }{\frac{1}{\sqrt{{a}^{2}{x}^{2}+1}}}}+{\frac{{\it Ci} \left ( 3\,\arctan \left ( ax \right ) \right ) }{4\,a{c}^{3}}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }{\frac{1}{\sqrt{{a}^{2}{x}^{2}+1}}}}+{\frac{3\,{\it Ci} \left ( \arctan \left ( ax \right ) \right ) }{4\,a{c}^{3}}\sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) }{\frac{1}{\sqrt{{a}^{2}{x}^{2}+1}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (a^{2} c x^{2} + c\right )}^{\frac{5}{2}} \arctan \left (a x\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{a^{2} c x^{2} + c}}{{\left (a^{6} c^{3} x^{6} + 3 \, a^{4} c^{3} x^{4} + 3 \, a^{2} c^{3} x^{2} + c^{3}\right )} \arctan \left (a x\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac{5}{2}} \operatorname{atan}{\left (a x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (a^{2} c x^{2} + c\right )}^{\frac{5}{2}} \arctan \left (a x\right )}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]